package com.authorityManagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_menu")
public class Menu {
      @TableId(type = IdType.ASSIGN_ID)
      private Long id;
      private String menuName;
      private String perms;
      private String path;
      private String component;
      private String visible;
      private String status;
      private String icon;
      private Integer type;
      private Long createBy;
      private String createTime;
      private Long updateBy;
      private String updateTime;
      private Integer order;
      private String remark;
      private Integer delFlag;
      private Long pid;
      private String pname;
      @TableField(exist = false)
      private List<Menu> childrenMenuList;
      
}
